<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/recruit.css" rel="stylesheet" type="text/css" />
<link href="css/base.css" rel="stylesheet" type="text/css" />
<title>招聘动态</title>

</head>

<body>
<div class="container">
<!--  top-->
<?php include 'header.php';?>
<!--  nav-->

   <div class="comm">
  <div class="too">
  <p><img src="img/tu.png" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;招聘动态/Recruit</p>
  </div>
  
 <!--左边内容-->  
  <div class="pro_left">
   <ul>
              <?php include 'recruit_db.php';?>
            <?php
           foreach($typerows as $row)
            {
            ?>            
            <a href="#"><li class="xuan"><?php echo $row['typename']?></li></a>
            <?php
            }
            ?>
               <?php include 'recruit_db.php';?>
            <?php
           foreach($typenamerows as $row)
            {
            ?>            
            <a href="#"><li><?php echo $row['typename']?></li></a>
            <?php
            }
            ?>
          <!--
            <a href="#"><li class="xuan">招聘动态</li></a>
            <a href="#"><li>社会招聘</li></a>
            <a href="#"><li>高校招聘</li></a>   
          -->
   </ul>
  </div>
  <div class="right">
    <table  cellspacing="0" cellpadding="0" width="730px" border="0">
  <tr class="table_top">
    <td class="no" width="66">招聘部门</td>
    <td class="no" width="71">职位名称</td>
    <td class="no" width="172">职位描述</td>
    <td class="no" width="75">工作地点</td>
    <td class="no" width="31">人数</td>
  </tr>

<?php
    require_once "db_conn.php";//连接数据库文件名
    $sql="SELECT * FROM  `tb_recruit`  order by id desc LIMIT 0 , 11";//查找数据库的表
    $result = $conn->query($sql);
     ?>
<?php if ($result->num_rows > 0):?>
<?php
  $rows = $result->fetch_all(MYSQLI_ASSOC);
   foreach ($rows as $row): ?>

  <tr class="size"> 
   <td><span><a href="recruit_details.php?id=<?php echo $row['id']; ?>"> <?php echo $row['title']; ?></a></span></td>
   <td><span><a href="<?php echo $row['url']; ?>"> <?php echo $row['title1']; ?></a></span></td>
   <td><span><a href="<?php echo $row['url']; ?>"> <?php echo $row['title2']; ?></a></span></td>
   <td><span><a href="<?php echo $row['url']; ?>"> <?php echo $row['title3']; ?></a></span></td>
   <td><span><a href="<?php echo $row['url']; ?>"> <?php echo $row['txt']; ?></a></span></td>  
  </tr>

<?php endforeach; ?>
<?php else : ?>
  <p>0个结果</p>
<?php endif; ?>

  <!--tr class="size">  
    <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>   
  </tr>
  <tr class="size">  
    <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>
  </tr>
   <tr class="size">  
    <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>
  </tr>
  <tr class="size">  
    <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>  
  </tr>
 <tr class="size">  
    <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>  
  </tr>
  <tr class="size">  
    <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>
  </tr>
 <tr class="size">  
    <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>
  </tr>
  <tr class="size">  
     <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>
  </tr>
  <tr class="size">  
    <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>
  </tr>
 <tr class="size">  
    <td><span><a href="recruit_details.html"> 技术部</a></span></td>
    <td><span><a href="recruit_details.html"> 系统集成项目经理</a></span></td>
    <td><span><a href="recruit_details.html"> 有1-2年相关经验，能质量监督完成项目</a></span></td>
    <td><span><a href="recruit_details.html"> 深圳</a></span></td>
    <td><span><a href="recruit_details.html"> 2人</a></span></td>
  </tr-->
</table>
  
  </div>
    <div class="pro_rightfot">
       		<a href="#"><img src="img/7.png" /></a>
            <span>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="#"> 1 </a>      
            <a href="#"> 2 </a>     
            <a href="#"> 3 </a>
            <a href="#"> 4 </a>
            <a href="#"> ... </a>
            <a href="#"> 7 </a>
            &nbsp;&nbsp;
            </span>
            <a href="#"><img src="img/8.png" /></a>
       </div>
</div>
  
  
<!--  footer-->
<?php include 'footer.php';?>
</div>
</body>
</html>
